﻿using System;
using System.ComponentModel.DataAnnotations;

namespace BCDto.TMS.Driver.DriverLearnDatum
{
    /// <summary>
    /// 司机学习资料答案
    /// </summary>
    public class DriverLearnDatumAnswerRequestDto
    {
        /// <summary>
        /// 资料答案Id
        /// </summary>
        [Display(Name = "资料答案编号")]
        [Required(ErrorMessage = "{0}  不能为空")]
        public int DatumAnswerId { get; set; }

        /// <summary>
        /// 答案内容
        /// </summary>
        [Display(Name = "答案内容")]
        [Required(ErrorMessage = "{0} 不能为空")]
        [StringLength(200, ErrorMessage = "{0} 长度最大为{1} 位")]
        public string AnswerContent { get; set; }
    }
}
